package com.jhgsys.internal.base.service;

import com.jhgsys.internal.base.dto.BaseGoodsInventoryRecordDto;
import com.jhgsys.internal.base.entity.BaseGoods;
import com.jhgsys.internal.base.entity.BaseGoodsInventoryRecord;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 安全奖品库存记录 Service接口
 *
 * @author admin
 * @date 2024-08-06 09:41:00
 */
public interface IBaseGoodsInventoryRecordService extends IService<BaseGoodsInventoryRecord> {
    /**
     * 查询（分页）
     * @author admin
     * @date 2024-08-06 09:41:00
     * @param request QueryRequest
     * @param baseGoodsInventoryRecord baseGoodsInventoryRecord
     * @return IPage<BaseGoodsInventoryRecord>
     */
    IPage<BaseGoodsInventoryRecord> findBaseGoodsInventoryRecordPage(QueryRequest request, BaseGoodsInventoryRecordDto baseGoodsInventoryRecord);


    /**
     * 查询（分页）dto增强返回
     * @author admin
     * @date 2024-08-06 09:41:00
     * @param request QueryRequest
     * @param baseGoodsInventoryRecord baseGoodsInventoryRecord
     * @return IPage<BaseGoodsInventoryRecordDto>
     */
    IPage<BaseGoodsInventoryRecordDto> findBaseGoodsInventoryRecordDtoPage(QueryRequest request, BaseGoodsInventoryRecordDto baseGoodsInventoryRecord);

    /**
     * 查询（所有）
     * @author admin
     * @date 2024-08-06 09:41:00
     * @param baseGoodsInventoryRecord baseGoodsInventoryRecord
     * @return List<BaseGoodsInventoryRecord>
     */
    List<BaseGoodsInventoryRecord> findBaseGoodsInventoryRecordList(BaseGoodsInventoryRecord baseGoodsInventoryRecord);

    /**
    * 根据ID查询
    * @author admin
    * @date 2024-08-06 09:41:00
    * @param id
    * @return BaseGoodsInventoryRecord
    */
    BaseGoodsInventoryRecord findBaseGoodsInventoryRecordById(String id);

    /**
     * 新增
     * @author admin
     * @date 2024-08-06 09:41:00
     * @param baseGoodsInventoryRecord baseGoodsInventoryRecord
     */
    void createBaseGoodsInventoryRecord(BaseGoods goods,BaseGoodsInventoryRecord baseGoodsInventoryRecord);

    /**
     * 修改
     * @author admin
     * @date 2024-08-06 09:41:00
     * @param baseGoodsInventoryRecord baseGoodsInventoryRecord
     */
    void updateBaseGoodsInventoryRecord(BaseGoodsInventoryRecord baseGoodsInventoryRecord);

    /**
     * 逻辑删除
     * @author admin
     * @date 2024-08-06 09:41:00
     * @param baseGoodsInventoryRecord baseGoodsInventoryRecord
     * @param baseGoodsInventoryRecordIds baseGoodsInventoryRecordIds
     */
    void deleteBaseGoodsInventoryRecord(BaseGoodsInventoryRecord baseGoodsInventoryRecord,String baseGoodsInventoryRecordIds);

    /**
    * 物理删除
    * @author admin
    * @date 2024-08-06 09:41:00
    * @param baseGoodsInventoryRecordIds baseGoodsInventoryRecordIds
    */
    void physicallyDeleteBaseGoodsInventoryRecord(String baseGoodsInventoryRecordIds);
}
